@font: 'Karla', sans-serif;

@primary-color: #3e6f9e;

body {
  font-family: @font;
  color: @primary-color;
  font-size: 14px;
}

.flex {
  display: flex;
  align-items: center;

  .flexItem {
    flex: 1;
    color: #3e6f9e;
  }
}

.button {
  background: transparent;
  color: #33333360;
  text-transform: uppercase;
  border: 4px solid #33333360;
  border-radius: 1000px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 5px;
  padding: 10px 20px;
  position: relative;
  transition:
    border-color 0.5s,
    color 0.5s;
  cursor: pointer;
  z-index: 1;
  overflow: hidden;
}

.button:hover {
  border-color: #33333380;
  color: #33333380;
}

.button::before,
.button::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #00000060;
  transition: transform 0.5s;
  transform: rotate(-90deg);
  transform-origin: bottom left;
  z-index: -1;
}

.button::after {
  transform-origin: top right;
}

.button:hover::before,
.button:hover::after {
  transform: rotate(0deg);
}

.section-gradient {
  background: linear-gradient(
    315deg,
    rgb(252 208 158) 3%,
    rgb(144 200 255) 38%,
    rgb(104 245 250) 68%,
    rgb(45 151 250) 98%
  );
  animation: gradient 25s ease infinite;
  background-size: 400% 400%;
  position: relative;
  overflow: hidden;
  height: 300px;
}

@keyframes gradient {
  0% {
    background-position: 0 0;
  }

  50% {
    background-position: 100% 100%;
  }

  100% {
    background-position: 0 0;
  }
}

.wave {
  background: rgb(255 255 255 / 25%);
  border-radius: 1000% 1000% 0 0;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 200px;
  animation: wave 10s -3s linear infinite;
  transform: translate3d(0, 0, 0);
  opacity: 0.8;
  z-index: 1;
}

.wave:nth-of-type(2) {
  bottom: -30px;
  animation: wave 8s linear reverse infinite;
  opacity: 0.8;
}

.wave:nth-of-type(3) {
  bottom: -60px;
  animation: wave 10s -1s reverse infinite;
  opacity: 0.9;
}

@keyframes wave {
  2% {
    transform: translateX(1);
  }

  25% {
    transform: translateX(-25%);
  }

  50% {
    transform: translateX(-50%);
  }

  75% {
    transform: translateX(-25%);
  }

  100% {
    transform: translateX(1);
  }
}
